package com.framework.service.yhbservice;

import com.baomidou.mybatisplus.service.IService;
import com.framework.entity.tran.TranTransactionInfo;
import com.framework.page.PageUtils;
import com.framework.yhbEntity.view.CusTranView;

import java.util.List;
import java.util.Map;

public interface YhbTransactionService extends IService<TranTransactionInfo> {
    /**
     * 机具交易列表
     * @param token
     * @param sn
     * @return
     */
    List<Map<String, Object>> queryTransactionList(String token, String sn);

    void addIsbenefited(Long transactionId);

    Integer queryYhbBenefited(Long transactionId);

    List<CusTranView> queryCusTranList(String token, Integer pageNo);

    PageUtils queryTransactionPage(Map<String, Object> params);

    List<Map<String, Object>> queryTranAndCountList(String s);
}
